SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 36104: Dynamic cursors used for global and shared OLE DB connections do not work when you call Microsoft SQL Server stored procedures with temporary tables

DetailsCodeHotfixAboutRate It

SAS/ACCESS® 9.1.3 Interface to OLE DB can call MS SQL Server stored procedures with temporary tables.

When you call the same stored procedure in SAS® 9.2, the following error is returned:

ERROR: Prepare error: ICommand::Execute failed. : Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done.
SQL statement: spTempTablTest #DatesMinp.

SAS 9.2 forces the use of the dynamic cursor with a global connection, but the cursor does not work.

Currently, there is no a way to override this behavior.



Operating System and Release Information

Product FamilyProductSystemSAS Release
ReportedFixed*
SAS SystemSAS/ACCESS Interface to OLE DBMicrosoft® Windows® for 64-Bit Itanium-based Systems9.2 TS1M09.2 TS2M2
Microsoft Windows Server 2003 Datacenter 64-bit Edition9.2 TS1M09.2 TS2M2
Microsoft Windows Server 2003 Enterprise 64-bit Edition9.2 TS1M09.2 TS2M2
Microsoft Windows XP 64-bit Edition9.2 TS1M09.2 TS2M2
Microsoft® Windows® for x649.2 TS1M09.2 TS2M2
Microsoft Windows Server 2003 Datacenter Edition9.2 TS1M09.2 TS2M2
Microsoft Windows Server 2003 Enterprise Edition9.2 TS1M09.2 TS2M2
Microsoft Windows Server 2003 Standard Edition9.2 TS1M09.2 TS2M2
Microsoft Windows XP Professional9.2 TS1M09.2 TS2M2
Windows Vista9.2 TS1M09.2 TS2M2
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.